home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 22 / pro_set.zip / PRO-SET.DOC < prev   
Text File  |  1986-04-07  |  22KB  |  361 lines

  1.  
  2.                                    PRO-SET
  3.                    An IBM Proprinter Configuration Utility
  4.                          Version 3.3 - April 7, 1986
  5.     
  6.                               by Fred Willshaw
  7.                                  207 Oak Lane
  8.                                  Cranford, NJ  07016
  9.                                  CIS 73075,321
  10.  
  11. PRO-SET is a utility program which may be used to send control strings to the
  12. IBM PROPRINTER without the necessity of exiting the program you are currently
  13. using.  It is distributed at no cost and may be freely copied and used.
  14. Should, however, you alter the program code in anyway it is forbidden to pass
  15. this program on to others.  If you would like to see modifications to the
  16. current program please contact the author.
  17.  
  18. I will attempt to keep the current version on the following Bulletin Boards in
  19. the New York/New Jersey area.  The program will be named PROSETxx.ARC where xx
  20. will indicate the latest version number.
  21.  
  22.                  Bulletin Board          Telephone#
  23.                ------------------      --------------
  24.                The POLICE              (201) 963-3115
  25.                CFONJ                   (201) 486-2956
  26.                The GOD'S               (201) 277-6522
  27.                Omegammon               (201) 653-3893
  28.                The BOSS                (201) 568-7293
  29.                Software Society        (201) 729-7410
  30.                Wolves Den              (212) 874-6319
  31.                Invention Factory       (212) 431-1194
  32.                Manhattan South         (212) 432-7288 
  33.  
  34.                            PRO-SET PARAMETERS           
  35.                            ------------------
  36.  
  37. You may either execute the program as a stand-alone DOS batch program or you
  38. may load it into resident memory.  Both modes are accomplished by placing the
  39. desired parameter(s) after the program name, then executing the program. These
  40. optional parameters are:
  41.  
  42.                     PRO-SET [R=x C=x V=x K=x S=x A=xxx]
  43.  
  44. Where R=x indicates the type run you wish to perform, the two options are:
  45.  
  46.            "R" for Load into low memory and remain resident.  The program
  47.                may be accessed by depressing the Hot-Key/Control-Key
  48.                combination you assigned, simultaneously.  This is the default.
  49.        "B" indicates that you want to run as a batch DOS job and not
  50.                remain resident.  You may also use this option even if the
  51.                program is currently resident.
  52.  
  53. Where C=x indicates the Color mode you wish to use, the two options are:
  54.  
  55.            "C" for using the IBM C/G Adapter colors. This is the default.
  56.            "N" for no colors, the NO COLORS option is primarily for users
  57.                of Amber and Green High Res monitors.
  58.             
  59.                   Note: If you are using a Monochrome Adapter the program
  60.                         will automatically detect this.
  61.  
  62. Where V=x is the Sound On/Off indicator for the program, the two options are:
  63.  
  64.            "Y" to get Sound warnings of input errors and invalid Drive/
  65.                Path/File Names during the Font Load procedure.  This is the
  66.                default.
  67.            "N" for no sound.
  68.  
  69. Where K=xx indicates the Hot-Key to be used along with the Control-Key
  70.            key(s) to activate the Memory Resident version.  Enter the
  71.            hexidecimal scan code value.  If you do not assign your own Hot-Key
  72.            PRO-SET will use the letter "P".  A partial list is shown below:
  73.  
  74.            KEY  SCAN      KEY  SCAN     KEY  SCAN     KEY  SCAN     KEY  SCAN
  75.            =========      =========     =========     =========     =========
  76.             A    1E        G    22       L    26       Q    10       V    2F
  77.             B    30        H    23       M    32       R    13       W    11
  78.             C    2E        I    17       N    31       S    1F       X    2D
  79.             D    20        J    24       O    18       T    14       Y    15
  80.             E    12        K    25       P    19 *     U    16       Z    2C
  81.             F    21                                  * = default
  82.  
  83. Where S=xx indicates the Control-Key key(s) to be used along with the
  84.            Hot-Key to activate the Memory Resident Version.  The default used
  85.            by PRO-SET is the <CTRL><ALT> combination. Enter the hexidecimal
  86.            total value from the following table, always enter as a two digit
  87.            value:
  88.  
  89.                   KEY       VALUE TO ADD       EXAMPLE (using the Default)
  90.               ===========   ============       ===========================
  91.               Right Shift        01                           CTRL  04
  92.               Left Shift         02                           ALT   08 
  93.               CTRL               04                                 ==
  94.               ALT                08                Enter total -->  0C
  95.  
  96. Where A=xxx indicates the drive, path and file name of the file you wish
  97.             loaded as the return address, this is optional.  Construct the
  98.             file using COPY CON: XXX, or any commonly used ASCII file editor,
  99.             with 1 to 4 lines of up to 33 characters each.
  100.  
  101.                    Example parameter:   A=C:\SUB1\SUB2\RETURN.DAT
  102.   
  103.                             Installing Pro-set
  104.                             ------------------
  105.  
  106. In order to install the program, have PRO-SET.COM in the root library or a
  107. sub-directory in the PATH command. Then include the line PRO-SET, along with
  108. your parameter(s), if any, in your AUTOEXEC.BAT file or issue the DOS command
  109. PRO-SET with your requested parameter(s), if any.
  110.  
  111. When loaded as memory resident, you may gain access to the program from any
  112. other program by depressing the Hot-Key/Control-Key combination.  The program
  113. will then intercept the keyboard interrupt (09H) and display the program menu.
  114.  
  115.                              The Program Menu's
  116.                              ------------------
  117.  
  118. Depressing the appropriate key(s) will send the appropriate character string
  119. and highlight the option on the menu or present a sub-menu for additional input.
  120. Depressing the <ESC> key will return you to the Original Program, Pro-Set Main
  121. Menu or DOS as appropriate.
  122.  
  123. The first line, [1] LPT1: -- 3:, is used to indicate which line printer port
  124. you want the control information send to.  The default is LPT1:.  If the port
  125. selected is not ready an error message will be displayed.
  126.  
  127. OPTION    COMMAND FUNCTION                    WHAT HAPPENS
  128. ------  --------------------  --------------------------------------------
  129. [A]     Set Condensed Mode    Sends <ESC> 15
  130. [B]     Stop Condensed Mode   Sends <ESC> 18
  131. [C]     Set 12 CPI            Sends <ESC> 58
  132. [D]     Set Emphasized Mode   Sends <ESC> 69
  133. [E]     Stop Emphasized Mode  Sends <ESC> 70
  134. [F]     ONE Direction Print   Sends <ESC> 85 01
  135. [G]     TWO Direction Print   Sends <ESC> 85 00
  136. [H]     Set Double Wide       Sends <ESC> 87 01
  137. [I]     Stop Double Wide      Sends <ESC> 87 00
  138. [J]     Character Set 1       Sends <ESC> 55
  139. [K]     Character Set 2       Sends <ESC> 54 02
  140. [L]     Format/Reset/Envelope Displays sub-menu
  141.  
  142.    [A]  Reset Printer         Sends 24             Empty Buffer
  143.                                     18             Cancel Condensed/Set 10 CPI
  144.                                     <ESC> 45 00       Cancel Underscore
  145.                                     <ESC> 53 00    Cancel Auto Linefeed
  146.                                     <ESC> 55       Select Character Set 1
  147.                                     <ESC> 61 00 00 Clear Download Buffer
  148.                                     <ESC> 65 12    6 Lines to Inch
  149.                                     <ESC> 67 66    Set 66 Lines to Page
  150.                                     <ESC> 67 00 11 Set to 11 Inches to Page
  151.                                     <ESC> 70       Cancel Emphasized Print
  152.                                     <ESC> 72       Cancel Doublestrike
  153.                                     <ESC> 73 00     Standard Print Mode
  154.                                     <ESC> 82       Cancel Tab Settings
  155.                                     <ESC> 84       Cancel Sub/Superscript
  156.                                     <ESC> 85 02    Set Bidirectional Print
  157.                                     <ESC> 87 00    Cancel Double Wide Print
  158.                                     <ESC> 95 00    Cancel Overscore
  159.    [B]  Set Top of Form       Sends <ESC> 04
  160.    [C]  Form Length (Inches)  Sends <ESC> 12 00 ## (Where ## is the value
  161.    [D]  Form Length (Lines)   Sends <ESC> 12 ##     is the value you entered)
  162.    [E]  Print an Envelope     Displays input screens
  163.  
  164.                                  Enter up to four lines of 33 characters for
  165.                                  a return address, depress the <ENTER> key
  166.             Return Address       after each line even if there is no entry.
  167.                                  Pressing <ESC> will return you to the Main
  168.                                  Menu.  The return address entered will be
  169.                                  stored and displayed the next time you enter
  170.                                  this function.  If you have no changes,
  171.                                  depress the <ENTER> key four (4) times.  You
  172.                                  may also preload a return address using the
  173.                                  initial paramters outlined above (A=).
  174.  
  175.                                  Enter up to four lines of 33 characters for
  176.                                  a mailing address, depress the <ENTER. key
  177.             Mailing Address      after each line even if there is no entry.
  178.                                  Pressing <ESC> will return you to the Main
  179.                                  Menu.
  180.  
  181.                                  Next, insert an envelope into the printer,
  182.                                  see directions below if not certain, then
  183.             Select Size          select the envelope size type by depressing
  184.                                  the appropriate size type - F1=Standard Size
  185.                                  F2=Legal Size or <ESC> to return to the Main
  186.                                  Menu.
  187.  
  188.                                  Proper placement of the envelope into the
  189.                                  Proprinter - Slide the envelope face up,
  190.             Positioning          top first and left side against the 
  191.                                  LEFT EDGE GUIDE, see manual page 1-10 bottom,
  192.                                  into the FRONT OPENING until you feel the
  193.                                  envelope stop moving.  At this point you are
  194.                                  ready for PRO-SET to print your envelope.
  195.  
  196. [M]     1/8" Spacing          Sends <ESC> 48
  197. [N]     7/72" Spacing         Sends <ESC> 49
  198. [O]     Set Normal Quality    Sends <ESC> 73 00
  199. [P]     Set Normal Download   Sends <ESC> 73 04
  200. [Q]     Set NLQ Normal        Sends <ESC> 73 02
  201. [R]     Set NLQ Download      Sends <ESC> 73 06
  202. [S]     Set NLQ Doublestrike  Sends <ESC> 71
  203. [T]     Stop NLQ Doublestrike Sends <ESC> 72
  204. [U]     Font Processing       Displays sub-menu
  205.  
  206.    [1]  FONTGEN Created       Indicates that file to be downloaded was
  207.                               created by the FONTGEN program. The next sub-menu
  208.                               is then displayed with which you indicate the
  209.                               Drive/Path/Data Set Name of the file to be
  210.                               downloaded.  After completion of this sub-menu
  211.                               the file is downloaded to the active printer.
  212.    [2]  IBM Format            Indicates that file to be downloaded was
  213.                               created to appear as in the IBM Proprinter Manual.
  214.                               The next sub-menu is then displayed with which
  215.                               you indicate the Drive/Path/Data Set Name of the
  216.                               file to be downloaded.  After completion of this
  217.                               sub-menu the file is downloaded to the active
  218.                               printer.
  219.    [3]  Create a Character    Indicates that you wish to construct a download
  220.                               character of your own.  The subsequent input
  221.                               screen is processed as follows:
  222.         Char Code =           Enter the character code to be downloaded in the
  223.                               range decimal 33 to 126.
  224.         Attribute =           Indicate the ascend/decender code 0 or 1
  225.         <arrow keys>          Move around the grid with the arrow keys, they
  226.                               will automatically wrap-around.
  227.         <ENTER>               Depressing <ENTER> will reverse the pin printing
  228.                               by toggling this pin position On or Off.
  229.         F1 = Download         Depressing the <F1> key will download the
  230.                               character to the active printer.
  231.         F2 = Save to file     Depressing F2 will display a sub-menu with which
  232.                               you indicate the Drive/Path/Data Set Name of the
  233.                               file the character is to be saved in.  If the
  234.                               file exists, the character will be added to the
  235.                               end of the file, if not, a new file will be
  236.                               created.  This file may be subsequently down-
  237.                               loaded using the IBM file format download option.
  238.         F3 = Clear            Depressing <F3> will clear the pin map,
  239.                               character code and attibute from the input screen.
  240.         <ESC>                 Escape will return you to the Primary Menu. 
  241.  
  242. >> IMPORTANT NOTE <<     After you have downloaded a font file you must
  243.                          instruct the printer how to process the downloaded
  244.                          font be using either option <P> SET NORMAL DOWNLOAD
  245.                          or <R> SET NLQ DOWNLOAD.  Selection of the <U> option
  246.                          does NOT establish the mode you wish to print in.
  247.                          It should also be noted that if you download a single
  248.                          character to the buffer only that character code will
  249.                          print for character codes in the decimal 33 to 126
  250.                          range.
  251.  
  252.                              IT WON'T WORK WITH
  253.                              ------------------
  254.  
  255. PRO-SET will not execute, and will lock up, on a PC 3270 or PC/AT 3270 running
  256. with the 3270 Control Program.  The Control Program simply doesn't care for
  257. other programs taking over interrupts.  Not a friendly program at all. PRO-SET
  258. will run properly with the Control Program in batch (R=B) mode.
  259.  
  260. If you have problems in making PRO-SET function properly, a careful examination
  261. of the memory resident programs you are using may be in order.  Certain
  262. combinations and sequences may cause improper execution of PRO-SET or your
  263. other programs.  Try loading these programs in a different sequence until they
  264. produce the proper results.  A leading offender with PRO-SET are Print Spoolers
  265. and Keyboard Enhancers.
  266.  
  267.                       UPDATES/MODIFICATIONS/CORRECTIONS
  268.                       ---------------------------------
  269.  
  270. Version 1.1 (01/07/86) - Added support for graphics modes 320X200 and
  271.                          640X200.  Note that this is determined by BIOS
  272.                          Interrupt 10H.  Some programs do not properly
  273.                          set this value, i.e. 1-2-3 in Graphics mode.
  274.                          Since the configuration screen cannot fit in 40
  275.                          column modes, a beep will sound if you attempt
  276.                          to use the program in 40 column mode.
  277.  
  278. Version 2.0 (01/21/86) - Added support for download fonts.  Depressing
  279.                          option U will present a sub-menu requesting the
  280.                          download font file format.  The first FONTGEN,
  281.                          is created using the FONTGEN utilities found
  282.                          on many Bulletin Boards.  It is well worth the
  283.                          download to get a copy of this program series.
  284.                          The second file format is the IBM standard
  285.                          layout as described in the PROPRINTER Manual.
  286.                          Another sub-menu will be displayed requesting
  287.                          the location and name of the font file to be
  288.                          loaded.
  289.                          A new sub-menu has taken the place of TOP
  290.                          OF FORM.  This is option L and will present a
  291.                          sub-menu offering TOP OF FORM, Form length in
  292.                          inches, Form length in lines and a Reset of the
  293.                          printer.  The Reset is taken from the Technical
  294.                          Reference Manual and issues an interrupt 17H
  295.                          with AH set to a 1.  This option does not seem
  296.                          to work on my Proprinter and as there is no
  297.                          discussion in the Proprinter Manual of such a
  298.                          feature, your helpful assistance is requested.
  299.                          When changing the LPTx: option the selected
  300.                          printer is now checked to ensure that it is
  301.                          online.  If the printer is not available, i.e.,
  302.                          turned off or offline, the program will notify
  303.                          you when selecting the printer.  However, if
  304.                          you are sending a command string and the printer
  305.                          is unavailable, the program will sit patiently
  306.                          and wait for you to turn on the device.
  307.  
  308. Version 2.1 (01/27/86) - Moved save of current path, FCB and DTA to Font
  309.                          routine in order to speed up execution for 
  310.                          non-font requests.
  311.  
  312. Version 3.0 (02/21/86) - Added ability to run as a batch program.  Allowed
  313.                          selection for color or black/white for users of
  314.                          amber/green high res screens.  Rewrote documentation.
  315.                          Added screen to show how parameters are entered in
  316.                          the event they are incorrectly entered. Converted
  317.                          all DOS Interrupt (21H) calls to ROM BIOS calls
  318.                          as the DOS calls were destroying the DOS stack
  319.                          when called from a resident program.  See the small
  320.                          print in the DOS manual !  Added ability to turn
  321.                          sound on and off.  Fixed cursor mode on Monochrome.
  322.                          Added ability to select the Hot-Key Combination to
  323.                          activate the memory resident version.  Gave ability
  324.                          to run as a DOS batch program.  Changed Printer
  325.                          Reset routine to pass individual parameters.  Added
  326.                          ability to set the internal drive table to specific
  327.                          configuration requirements.
  328.  
  329. Version 3.1 (03/04/86) - Added code to determine 12 or 16 bit fat based on the
  330.                          cluster size comments on page 122 of Peter Noton's
  331.                          book PROGRAMMER'S GUIDE TO THE IBM PC (c) 1985. Fixed
  332.                          problem where initial address of LPT1: was hard coded
  333.                          and not from printer base table.  Added routine to
  334.                          print envelopes while in PRO-SET.  Routine supports
  335.                          Standard and Legal size envelopes.  Many thanks to
  336.                          Ed Feins of CFONJ for putting up with my feeble
  337.                          attempts at programming and making this update
  338.                          possible.
  339.  
  340. Version 3.2 (03/11/86) - Deleted all references to BIOS routines, now using
  341.                          Interrupt 21H functions 3D, 3E and 3F.  This
  342.                          includes the drive location table parameter (D=)
  343.                          which was removed.  Added ability to preload a return
  344.                          address via the parameters, see A=.  While the BIOS
  345.                          routine worked fine on Floppies and 10 Meg hard disks,
  346.                          it had serious problems with DOS 3.1 and hard disks
  347.                          in the 16 bit FAT category.  If and when decent
  348.                          documentation is available on these problems BIOS
  349.                          may reenter the PRO-SET world.  Again thanks to
  350.                          Ed Feins and Eric Rintell for their cooperation and
  351.                          spirit of adventure !
  352.  
  353. Version 3.3 (04/07/86) - Added ability to create, download and/or save
  354.                          font characters you have created.  Fixed bug in
  355.                          data set processing of drives other than current
  356.                          drive.  Tested the INIT line reset technique shown
  357.                          in the current issue of PC Tech Journal for reset
  358.                          of the Proprinter.  Since it does not do a complete
  359.                          reset the previous routine was retained.
  360.  
  361.